﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyBanHang
{
    public partial class FormInTable : Form
    {
        public FormInTable()
        {
            InitializeComponent();
        }

        private void printControl1_Load(object sender, EventArgs e)
        {

        }

        private void FormInTable_Load(object sender, EventArgs e)
        {
            XtraReportCTHD tablecthd = new XtraReportCTHD();

            printControl1.PrintingSystem = tablecthd.PrintingSystem;
            tablecthd.CreateDocument();
        }
    }
}
